/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Cad_Patrimonio.java
 *
 * Created on 27/07/2011, 15:38:52
 */

package projetolions;

/**
 *
 * @author rti dev-01
 */
public class Cad_Patrimonio extends javax.swing.JFrame {

    /** Creates new form Cad_Patrimonio */
    public Cad_Patrimonio() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jpCad_Patrimonio = new javax.swing.JPanel();
        jlCodigo = new javax.swing.JLabel();
        jtfCodPatrimonio = new javax.swing.JTextField();
        jlDescricao = new javax.swing.JLabel();
        jtfDescricao = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jdcDataAquisicao = new com.toedter.calendar.JDateChooser();
        jlSituacao = new javax.swing.JLabel();
        jcbSituacao = new javax.swing.JComboBox();
        jlEstadoPatrimonio = new javax.swing.JLabel();
        jcbEstadoPatrimonio = new javax.swing.JComboBox();
        jlObs = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jtaObs = new javax.swing.JTextArea();
        jlImagem = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Cadastro de Patrimônio");

        jlCodigo.setText("Código:");

        jlDescricao.setText("Descrição:");

        jLabel1.setText("Data da Aquisição:");

        jlSituacao.setText("Situação:");

        jcbSituacao.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Selecione a Situação" }));

        jlEstadoPatrimonio.setText("Estado do Patrimônio:");

        jcbEstadoPatrimonio.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Estado do Patrimônio" }));

        jlObs.setText("Observação:");

        jtaObs.setColumns(20);
        jtaObs.setRows(5);
        jScrollPane1.setViewportView(jtaObs);

        jlImagem.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jButton1.setText("Inserir");

        javax.swing.GroupLayout jpCad_PatrimonioLayout = new javax.swing.GroupLayout(jpCad_Patrimonio);
        jpCad_Patrimonio.setLayout(jpCad_PatrimonioLayout);
        jpCad_PatrimonioLayout.setHorizontalGroup(
            jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jlObs)
                    .addComponent(jlEstadoPatrimonio)
                    .addComponent(jLabel1)
                    .addComponent(jlCodigo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                        .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, 0, 0, Short.MAX_VALUE)
                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jpCad_PatrimonioLayout.createSequentialGroup()
                                    .addComponent(jdcDataAquisicao, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(jlSituacao)))
                            .addComponent(jcbEstadoPatrimonio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                                    .addGap(63, 63, 63)
                                    .addComponent(jlImagem, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(57, 57, 57))
                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpCad_PatrimonioLayout.createSequentialGroup()
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jButton1)
                                    .addGap(75, 75, 75)))
                            .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jcbSituacao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                        .addComponent(jtfCodPatrimonio, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jlDescricao)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jtfDescricao, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(47, Short.MAX_VALUE))
        );
        jpCad_PatrimonioLayout.setVerticalGroup(
            jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                .addGap(63, 63, 63)
                .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jlCodigo)
                    .addComponent(jtfCodPatrimonio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jlDescricao)
                    .addComponent(jtfDescricao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addComponent(jdcDataAquisicao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jlSituacao)
                        .addComponent(jcbSituacao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jlEstadoPatrimonio)
                            .addComponent(jcbEstadoPatrimonio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(jpCad_PatrimonioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jlObs)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jpCad_PatrimonioLayout.createSequentialGroup()
                        .addGap(28, 28, 28)
                        .addComponent(jlImagem, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(42, Short.MAX_VALUE))
        );

        getContentPane().add(jpCad_Patrimonio, java.awt.BorderLayout.LINE_START);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Cad_Patrimonio().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JComboBox jcbEstadoPatrimonio;
    private javax.swing.JComboBox jcbSituacao;
    private com.toedter.calendar.JDateChooser jdcDataAquisicao;
    private javax.swing.JLabel jlCodigo;
    private javax.swing.JLabel jlDescricao;
    private javax.swing.JLabel jlEstadoPatrimonio;
    private javax.swing.JLabel jlImagem;
    private javax.swing.JLabel jlObs;
    private javax.swing.JLabel jlSituacao;
    private javax.swing.JPanel jpCad_Patrimonio;
    private javax.swing.JTextArea jtaObs;
    private javax.swing.JTextField jtfCodPatrimonio;
    private javax.swing.JTextField jtfDescricao;
    // End of variables declaration//GEN-END:variables

}
